
#ifndef UI_LAYERDIALOG_H
#define UI_LAYERDIALOG_H

#include "ui_ui_layerdialog.h"
#include "..\gui_export.h"

class GUI_EXPORT UI_LayerDialog : public QDialog, public Ui::UI_LayerDialog
{
    Q_OBJECT

public:
    UI_LayerDialog(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
    ~UI_LayerDialog();

public slots:
    virtual void setLayer( PF_Layer * l );
    virtual void updateLayer();
    virtual void validate();
    virtual void setLayerList( PF_LayerList * ll );
    virtual void setEditLayer( bool el );

protected:
    PF_Layer* layer;
    PF_LayerList* layerList;
    QString layerName;
    bool editLayer;

protected slots:
    virtual void languageChange();

private:
    void init();

};

#endif // QG_LAYERDIALOG_H
